package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 海外仓调拨业务
 * </p>
 *
 * @author Wayne
 * @since 2022-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_WHS_MOVE")
@ApiModel(value="OverseaWhsMove对象", description="海外仓调拨业务")
public class OverseaWhsMove implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "调拨任务UUID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "调拨任务单号")
    @TableField("WHS_MOVE_NO")
    private String whsMoveNo;

    @ApiModelProperty(value = "标题")
    @TableField("SUBJECT")
    private String subject;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "调拨任务状态(0删除;1保存;2提交SPMS/库存更新;3提交SAP失败;4提交SAP成功;5调拨任务已撤销;)")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "移动类型")
    @TableField("MOVEMENT_TYPE")
    private String movementType;

    @ApiModelProperty(value = "调拨调出工厂代码")
    @TableField("WERKS_MOVE_OUT")
    private String werksMoveOut;

    @ApiModelProperty(value = "调拨调出仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_OUT")
    private String whsLocationCodeMoveOut;

    @ApiModelProperty(value = "调拨调出备注")
    @TableField("REMARK_MOVE_OUT")
    private String remarkMoveOut;

    @ApiModelProperty(value = "调拨调入工厂代码")
    @TableField("WERKS_MOVE_IN")
    private String werksMoveIn;

    @ApiModelProperty(value = "调拨调入仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_IN")
    private String whsLocationCodeMoveIn;

    @ApiModelProperty(value = "调拨调入备注")
    @TableField("REMARK_MOVE_IN")
    private String remarkMoveIn;

    @ApiModelProperty(value = "关联单据号")
    @TableField("RELATE_DOCUMENT")
    private String relateDocument;

    @ApiModelProperty(value = "备注/预留")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "评论/预留")
    @TableField("COMMENTS")
    private String comments;

    @ApiModelProperty(value = "过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "SAP凭证号")
    @TableField("SAP_VOUCHER_NUMBER")
    private String sapVoucherNumber;

    @ApiModelProperty(value = "SAP过账年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;

    @ApiModelProperty(value = "撤销SAP过账日期")
    @TableField("CANCEL_POSTING_DATE")
    private String cancelPostingDate;

    @ApiModelProperty(value = "撤销SAP凭证")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "撤销SAP凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "数据版本号")
    @TableField("DATA_VERSION")
    private Integer dataVersion;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
